/* -------------------------------头部---------------------------------- */
header{
    width: 100%;
    background-color: #fff;
}

.auto{
    width: 1200px;
    margin: 0 auto;
}

.top-nav{
    width:1200px;
    padding:10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:0 auto;
}
.search{
    display: flex;
    align-items: center;
}
.search .icon-location{
    width:16px;
    height:21px;
    background: url(./image/location.png) no-repeat center;
}
.search span{
    color:var(--text-color);
    font:15px "微软雅黑";
    padding:0px 20px 0px 6px;
}
.searchbox{
    height:38px;
    border:1px solid var(--main-color);
    padding-left:44px;
     /* 左上 右上 右下 左下 */
    border-radius: 19px 0px 0px 19px;
    display: flex;
    align-items: center;
    background: url(./image/search.png) no-repeat 16px 10px;
}
.searchbox input[type="text"]{
    border:none;
    outline: none;
    font:15px "微软雅黑";
    color:var(--text-color);
}
.search button{
    height: 40px;
    border:none;
    background-color:var(--main-color);
    padding:0px 22px;
            /* 左上 右上 右下 左下 */
    border-radius: 0px 20px 20px 0px;
    color:white;
    font:15px "微软雅黑";
}
.user a{
    font:15px "微软雅黑";
    margin-left:25px;
    color:var(--text-color);
}
.user img{
    vertical-align: middle;
}
.menu{
    width: 1200px;
    margin: 0 auto;
    display: flex;
}
.menu li{
    height: 50px;
   margin-right: 50px; 
}

.menu li a{
    display: block;
    font: 20px "微软雅黑";
    height: 50px;
    margin-right: 50px;
    color: var(--title-color);
}

.menu li:nth-child(1) a,.menu li a:hover{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

/* -------------------------------咨询---------------------------------- */

.zhixun{
    width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 12px;
    
}
.zhixun>a{
    color: #666;
}
.zhixun>a:last-child{
    color: var(--text-color);
}

.aifrui{
background: #fff;
display: flex;
justify-content: space-between;
flex-direction: row;
}

.aifrui .rz{
    background-image: url(./image/认证1.png);
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.aifrui .gou{
    background-image: url(./image/认证2.png);
    background-repeat: no-repeat;
    width: 20px;
    height: 16px;
    display: inline-block;
}

.afr_left{
    margin-top: 20px;
    margin-left: 20px;
}

.afr_left i:nth-of-type(1){
    font-size: 33px;
}


.afr_left i:nth-of-type(3){
    font-size: 17px;
    color:var(--main-color);
    margin-left: 10px;
}

.afr-pf{
    color:#fec45a;
    font-size: 18px;
    padding: 13px 0;
}

.afr_left a{
    display: inline-block;
    color: #999;
    padding-bottom: 13px;
}

.afr-ts{
   padding-top: 13px;
   
}

.afr-ts img:nth-of-type(1){
    padding-left: 10px;
}

.afr-ts p{
    display: inline-block;
    color: #555;
    margin-right: 10px;
}

.afr-ts>span{
    font-size: 17px;
}

.zxzx{
    display:inline-block;
    height: 40px;
    width:100px;
    background-color: orangered;
    line-height:40px;
    text-align: center;
    border-radius:20px;
    color: #fff;
    margin: 13px 0;
}

.afr_rirht{
    display: inline-block;
    width: 385px;
    margin-top: 20px;
    margin-right:15px;
    padding-bottom: 20px;
}

/* ------------------------------名师风采------------------------------- */
.all-tea{
    position: relative;
    width:1400px;
    margin: 0 auto;
}

.teacher{
    margin-top: 30px;
    background: #fff;
    /* border:1px solid red; */
}

.teacher>a{
    display: inline-block;
    font-size: 33px;
    color: #000;
    margin-left: 20px;
    margin-top: 20px;
}

.teacher .t{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 40px;
}

.t1{
    display: inline-block;
    width: 360px;
    text-align: center;
    padding-bottom:40px;
}

.t1 span:nth-of-type(1){
    display: inline-block;
    font-size: 17px;
    padding-top:10px;
}

.t1 a{
    display: inline-block;
    color:var(--main-color);
    font-size: 18px;
    padding-top:10px;
}

.t1 p{
    font-size: 16px;
    padding-top:10px;
    display: inline-block;
}

.t_left{
    position: absolute;
    bottom:200px;
    left:25px;
}

.t_right{
    position: absolute;
    bottom:200px;
    right:25px;
}

/* ------------------------------主打课程------------------------------- */
.all-class{
    margin-top: 30px;
    /* border:1px solid red; */
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.zdclass{
    width: 870px;
    overflow: hidden;
    padding-bottom: 30px;
    background: #fff;
    /* 鼠标呈现为指示链接的指针 */
   cursor: pointer;
}

.zdclass>a{
    display: inline-block;
    font-size: 33px;
    color: #000;
    margin-left: 20px;
    margin-top: 20px;
}


.C-cla .C_1{
    width: 400px;
    float: left;
    margin-left:30px;
    margin-top: 30px;
    overflow: hidden;
}

.C_jg{
    margin-top: 40px;
    margin-right:50px;
    float: right;
    overflow: hidden;
}

.C_jg1{
    margin-right: 20px;
}

.C_jg2{
    margin-right:40px;
}

.C_jg p:nth-of-type(1){
    font-size: 19px;
    padding-bottom:10px;
}

.C_jg p:nth-of-type(2){
    font-size: 13px;
    color: #999;
    padding-bottom:25px;
}

.C_jg i:nth-of-type(1){
    color:orangered;
    font-size: 14px;
}

.C_jg i:nth-of-type(2){
    font-size: 13px;
    color: #999;
}
/* ------------------------------学生评价------------------------------- */
.mate-talk{
width: 870px;
margin-top: 30px;
background: #fff;
/* border:1px solid red; */
overflow: hidden;
/* 鼠标呈现为指示链接的指针 */
cursor: pointer;

}

.mate-talk>a{
    display: inline-block;
    font-size: 33px;
    color: #000;
    margin-left: 20px;
    margin-top: 20px;
}

.plxz a:nth-of-type(1){
    display: inline-block;
    height: 30px;
    width: 85px;
    background: #2ab8f5;
    text-align: center;
    border-radius:6px;
    line-height: 30px;
    color: #fff;
    font-size: 14px;
    margin-top: 30px;
    margin-left: 25px;
}

.plxz a{
    font-size: 14px;
    color: #000;
    margin-right: 40px; 
    display: inline-block;
    height: 30px;
    width: 85px;
    text-align: center;
    border-radius:6px;
    line-height: 30px;
    font-size: 14px;
    margin-top: 30px;
    margin-left: 15px;
}

.plxz a:hover{
    background: #2ab8f5;
    color: #fff;
}

.pinglun{
    overflow: hidden;
    margin-left: 15px;
    margin-top: 15px;
    padding-bottom: 50px;
}

.pl-img{
    float: left;
    height: 100px;
    /* border:1px solid red; */
}

.pinglun-p1{
    width: 780px;
    overflow: hidden;
    /* border:1px solid red; */
    margin-left: 15px;
    display: inline-block;
}

.pinglun-p1 p:nth-of-type(1){
    float: right;
    font-size: 15px;
    color: #999;
    margin-left: -10px;
}

.pinglun-pf{
    font-size: 18px;
    color:#fec45a;
    padding-bottom:10px;
}

.pinglun-p1 p:nth-of-type(2){
    font-size: 17px;
    font-weight: bold;
    padding-bottom:10px;
}

.pinglun-p1 p:nth-of-type(3){
    font-size: 16px;
    text-align: left;
}

.pl-tp{
    padding-top: 40px;
}

.yema{
    height: 50px;
    display: inline-block;
    padding-left:200px;
    margin-top: 20px;
}

.yema i{
    margin-left:20px;
    display: inline-block;
    width: 30px;
    height: 30px;
    border:1px solid #ccc;
    text-align: center;
    line-height: 30px;
    border-radius:5px;
    /* 鼠标呈现为指示链接的指针 */
   cursor: pointer;
}

.yema i:hover{
    background:#2ab8f5;
    color: #fff;
}

.yema i:nth-of-type(3){
    display: inline-block;
    width: 30px;
    height:30px;
    background:#2ab8f5;
    border:1px solid #ccc;
    text-align: center;
    line-height:30px;
    border-radius:5px;
    color: #fff;
}
/* ------------------------------同类型推荐------------------------------- */
.all_right{
    width: 283px;
    /* 鼠标呈现为指示链接的指针 */
   cursor: pointer;
}

.right_bottom{
    background: #fff;
    margin-top: 20px;
}

.right_bottom>a{
    color:var(--main-color);
    font-size: 18px;
    margin-left: 15px;
    margin-top:15px;
    display: inline-block;
    padding-bottom: 15px;
}

.r-b_nr{
    margin-left: 15px;
}

.r-b_nr p:nth-of-type(1){
    padding-top: 10px;
    font-size: 15px;
    padding-bottom: 10px;
}

.b_nr-tp{
font-size: 14px;
color: #999;
padding-bottom: 10px;
}

.r-b_nr p:nth-of-type(2){
    font-size: 13px;
    padding-bottom: 20px;
    color: #999;
}


/* --------------------------底部-------------------------- */
footer{
    margin: 0 auto;
    width: 100%;
    background-color: #414141;
    margin-top: 70px;
}

.foot-nav{
    width:1200px;
    height: 150px;;
    display: flex;
    margin:0 auto;
}
.foot-nav a{
    color: #fff;
    font-size:18px;
    margin-right:50px;
    padding-left:20px;
    margin-top:40px;
}

.foot-nav i:nth-of-type(1){
    display: inline-block;
    margin-left:190px;
    margin-top:40px;
    color: #ccc;
}

.foot-nav i:nth-of-type(2){
    margin-left:70px;
    color: #ccc;
}  

.fgx{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    border-top: 1px solid #999;
    top:-45px;
}

.db{
    position: relative;
    top:-20px;
    width:1200px;
    margin: 0 auto;
    font-size:13px;
    text-align: center;
    color: #ccc;
    line-height:40px;
}

.wx img:nth-of-type(1){
    position: relative;
    left:180px;
    top:3px;
}

.wx img:nth-of-type(2){
    position: relative;
    left:60px;
    top:3px;
}
